package com.ybkj.o2o.zhuanche.manager;

import com.ybkj.o2o.zhuanche.common.DataGrid;
import com.ybkj.o2o.zhuanche.common.query.OrderReviewQuery;
import com.ybkj.o2o.zhuanche.entity.OrderReview;

public interface OrderReviewManager {

  int insert(OrderReview orderReview);

  OrderReview findByOrderIdAndAppKey(OrderReviewQuery orderReviewQuery);

  DataGrid<OrderReview> findByDriver(OrderReviewQuery orderReviewQuery);

  public void deleteById(Long id, String appKey);

  OrderReview findOne(OrderReviewQuery orderReviewQuery);

}
